home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: Locrian:WWDCSun:C:PfTypLs.h.
- * Generated using:
- * SOM Precompiler somipc: somc/smemit.c
- * SOM Emitter emith.dll: somc/smmain.c
- */
-
- /*
- *
- * Classes defined in this interface
- *
- */
-
-
- #ifndef SOM_ODPlatformTypeSet_h
- #define SOM_ODPlatformTypeSet_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODPlatformTypeSet
- #define ODPlatformTypeSet SOMObject
- #endif
- #include <ODObject.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODPlatformTypeSetIterator
- #define ODPlatformTypeSetIterator SOMObject
- #endif /* ODPlatformTypeSetIterator */
-
- /*
- * End of user-defined types.
- */
-
- #define ODPlatformTypeSet_MajorVersion 0
- #define ODPlatformTypeSet_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODPlatformTypeSetNewClass c
- #define ODPlatformTypeSetClassData d
- #define ODPlatformTypeSetCClassData x
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define ODPlatformTypeSet_classObj ODPlatformTypeSetClassData.classObject
- #define _ODPlatformTypeSet ODPlatformTypeSet_classObj
-
- /*
- * Declare the class creation procedure
- */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export on
- #endif
-
- SOMEXTERN SOMClass * SOMLINK ODPlatformTypeSetNewClass(integer4 somtmajorVersion,
- integer4 somtminorVersion);
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODPlatformTypeSetClassDataStructure {
- SOMAny *classObject;
- somMToken InitPlatformTypeSet;
- somMToken Add;
- somMToken Union;
- somMToken Remove;
- somMToken Difference;
- somMToken Contains;
- somMToken Count;
- somMToken CreatePlatformTypeSetIterator;
- }
- #ifdef SOM_NO_DATA_EXPORTS
- * ODPlatformTypeSetGetClassData ( void );
- # undef ODPlatformTypeSetClassData
- # define ODPlatformTypeSetClassData (*ODPlatformTypeSetGetClassData())
- #else
- ODPlatformTypeSetClassData;
- #endif /* SOM_NO_DATA_EXPORTS */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export off
- #endif
-
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct ODPlatformTypeSetCClassDataStructure {
- somMethodTabs parentMtab;
- somDToken instanceDataToken;
- } ODPlatformTypeSetCClassData;
-
- /*
- * New and Renew macros for ODPlatformTypeSet
- */
- #define ODPlatformTypeSetNew() \
- ( ( ! (ODPlatformTypeSetClassData.classObject) && \
- (ODPlatformTypeSetNewClass(ODPlatformTypeSet_MajorVersion, ODPlatformTypeSet_MinorVersion)) ), \
- (_somNew(ODPlatformTypeSetClassData.classObject)) )
- #define ODPlatformTypeSetRenew(buf) \
- ( _somRenew(ODPlatformTypeSetClassData.classObject, buf) )
-
- /*
- * Override method: somInit
- */
- #define ODPlatformTypeSet_somInit(somSelf) \
- SOMObject_somInit(somSelf)
-
- /*
- * Override method: somUninit
- */
- #define ODPlatformTypeSet_somUninit(somSelf) \
- SOMObject_somUninit(somSelf)
-
- /*
- * New Method: InitPlatformTypeSet
- */
- typedef void (SOMLINK *somTD_ODPlatformTypeSet_InitPlatformTypeSet)(ODPlatformTypeSet *somSelf, Environment *ev);
- #define somMD_ODPlatformTypeSet_InitPlatformTypeSet "::ODPlatformTypeSet::InitPlatformTypeSet"
- #define ODPlatformTypeSet_InitPlatformTypeSet(somSelf,ev) \
- (SOM_Resolve(somSelf, ODPlatformTypeSet, InitPlatformTypeSet) \
- (somSelf,ev))
- #ifndef SOMGD_InitPlatformTypeSet
- #if (defined(_InitPlatformTypeSet) || defined(__InitPlatformTypeSet))
- #undef _InitPlatformTypeSet
- #undef __InitPlatformTypeSet
- #define SOMGD_InitPlatformTypeSet 1
- #else
- #define _InitPlatformTypeSet ODPlatformTypeSet_InitPlatformTypeSet
- #endif /* _InitPlatformTypeSet */
- #endif /* SOMGD_InitPlatformTypeSet */
-
- /*
- * New Method: Add
- */
- typedef void (SOMLINK *somTD_ODPlatformTypeSet_Add)(ODPlatformTypeSet *somSelf, Environment *ev,
- ODPlatformType type);
- #define somMD_ODPlatformTypeSet_Add "::ODPlatformTypeSet::Add"
- #define ODPlatformTypeSet_Add(somSelf,ev,type) \
- (SOM_Resolve(somSelf, ODPlatformTypeSet, Add) \
- (somSelf,ev,type))
- #ifndef SOMGD_Add
- #if (defined(_Add) || defined(__Add))
- #undef _Add
- #undef __Add
- #define SOMGD_Add 1
- #else
- #define _Add ODPlatformTypeSet_Add
- #endif /* _Add */
- #endif /* SOMGD_Add */
-
- /*
- * New Method: Union
- */
- typedef void (SOMLINK *somTD_ODPlatformTypeSet_Union)(ODPlatformTypeSet *somSelf, Environment *ev,
- ODPlatformTypeSet* typeSet);
- #define somMD_ODPlatformTypeSet_Union "::ODPlatformTypeSet::Union"
- #define ODPlatformTypeSet_Union(somSelf,ev,typeSet) \
- (SOM_Resolve(somSelf, ODPlatformTypeSet, Union) \
- (somSelf,ev,typeSet))
- #ifndef SOMGD_Union
- #if (defined(_Union) || defined(__Union))
- #undef _Union
- #undef __Union
- #define SOMGD_Union 1
- #else
- #define _Union ODPlatformTypeSet_Union
- #endif /* _Union */
- #endif /* SOMGD_Union */
-
- /*
- * New Method: Remove
- */
- typedef void (SOMLINK *somTD_ODPlatformTypeSet_Remove)(ODPlatformTypeSet *somSelf, Environment *ev,
- ODPlatformType type);
- #define somMD_ODPlatformTypeSet_Remove "::ODPlatformTypeSet::Remove"
- #define ODPlatformTypeSet_Remove(somSelf,ev,type) \
- (SOM_Resolve(somSelf, ODPlatformTypeSet, Remove) \
- (somSelf,ev,type))
- #ifndef SOMGD_Remove
- #if (defined(_Remove) || defined(__Remove))
- #undef _Remove
- #undef __Remove
- #define SOMGD_Remove 1
- #else
- #define _Remove ODPlatformTypeSet_Remove
- #endif /* _Remove */
- #endif /* SOMGD_Remove */
-
- /*
- * New Method: Difference
- */
- typedef void (SOMLINK *somTD_ODPlatformTypeSet_Difference)(ODPlatformTypeSet *somSelf, Environment *ev,
- ODPlatformTypeSet* typeSet);
- #define somMD_ODPlatformTypeSet_Difference "::ODPlatformTypeSet::Difference"
- #define ODPlatformTypeSet_Difference(somSelf,ev,typeSet) \
- (SOM_Resolve(somSelf, ODPlatformTypeSet, Difference) \
- (somSelf,ev,typeSet))
- #ifndef SOMGD_Difference
- #if (defined(_Difference) || defined(__Difference))
- #undef _Difference
- #undef __Difference
- #define SOMGD_Difference 1
- #else
- #define _Difference ODPlatformTypeSet_Difference
- #endif /* _Difference */
- #endif /* SOMGD_Difference */
-
- /*
- * New Method: Contains
- */
- typedef ODBoolean (SOMLINK *somTD_ODPlatformTypeSet_Contains)(ODPlatformTypeSet *somSelf, Environment *ev,
- ODPlatformType type);
- #define somMD_ODPlatformTypeSet_Contains "::ODPlatformTypeSet::Contains"
- #define ODPlatformTypeSet_Contains(somSelf,ev,type) \
- (SOM_Resolve(somSelf, ODPlatformTypeSet, Contains) \
- (somSelf,ev,type))
- #ifndef SOMGD_Contains
- #if (defined(_Contains) || defined(__Contains))
- #undef _Contains
- #undef __Contains
- #define SOMGD_Contains 1
- #else
- #define _Contains ODPlatformTypeSet_Contains
- #endif /* _Contains */
- #endif /* SOMGD_Contains */
-
- /*
- * New Method: Count
- */
- typedef ODULong (SOMLINK *somTD_ODPlatformTypeSet_Count)(ODPlatformTypeSet *somSelf, Environment *ev);
- #define somMD_ODPlatformTypeSet_Count "::ODPlatformTypeSet::Count"
- #define ODPlatformTypeSet_Count(somSelf,ev) \
- (SOM_Resolve(somSelf, ODPlatformTypeSet, Count) \
- (somSelf,ev))
- #ifndef SOMGD_Count
- #if (defined(_Count) || defined(__Count))
- #undef _Count
- #undef __Count
- #define SOMGD_Count 1
- #else
- #define _Count ODPlatformTypeSet_Count
- #endif /* _Count */
- #endif /* SOMGD_Count */
-
- /*
- * New Method: CreatePlatformTypeSetIterator
- */
- typedef ODPlatformTypeSetIterator* (SOMLINK *somTD_ODPlatformTypeSet_CreatePlatformTypeSetIterator)(ODPlatformTypeSet *somSelf, Environment *ev);
- #define somMD_ODPlatformTypeSet_CreatePlatformTypeSetIterator "::ODPlatformTypeSet::CreatePlatformTypeSetIterator"
- #define ODPlatformTypeSet_CreatePlatformTypeSetIterator(somSelf,ev) \
- (SOM_Resolve(somSelf, ODPlatformTypeSet, CreatePlatformTypeSetIterator) \
- (somSelf,ev))
- #ifndef SOMGD_CreatePlatformTypeSetIterator
- #if (defined(_CreatePlatformTypeSetIterator) || defined(__CreatePlatformTypeSetIterator))
- #undef _CreatePlatformTypeSetIterator
- #undef __CreatePlatformTypeSetIterator
- #define SOMGD_CreatePlatformTypeSetIterator 1
- #else
- #define _CreatePlatformTypeSetIterator ODPlatformTypeSet_CreatePlatformTypeSetIterator
- #endif /* _CreatePlatformTypeSetIterator */
- #endif /* SOMGD_CreatePlatformTypeSetIterator */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODPlatformTypeSet_InitObject ODObject_InitObject
- #define ODPlatformTypeSet_IsInitialized ODObject_IsInitialized
- #define ODPlatformTypeSet_HasExtension ODObject_HasExtension
- #define ODPlatformTypeSet_GetExtension ODObject_GetExtension
- #define ODPlatformTypeSet_ReleaseExtension ODObject_ReleaseExtension
- #define ODPlatformTypeSet_Purge ODObject_Purge
- #define ODPlatformTypeSet_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODPlatformTypeSet_somFree SOMObject_somFree
- #define ODPlatformTypeSet_somGetClass SOMObject_somGetClass
- #define ODPlatformTypeSet_somGetClassName SOMObject_somGetClassName
- #define ODPlatformTypeSet_somGetSize SOMObject_somGetSize
- #define ODPlatformTypeSet_somIsA SOMObject_somIsA
- #define ODPlatformTypeSet_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODPlatformTypeSet_somRespondsTo SOMObject_somRespondsTo
- #define ODPlatformTypeSet_somDispatchV SOMObject_somDispatchV
- #define ODPlatformTypeSet_somDispatchL SOMObject_somDispatchL
- #define ODPlatformTypeSet_somDispatchA SOMObject_somDispatchA
- #define ODPlatformTypeSet_somDispatchD SOMObject_somDispatchD
- #define ODPlatformTypeSet_somDispatch SOMObject_somDispatch
- #define ODPlatformTypeSet_somClassDispatch SOMObject_somClassDispatch
- #define ODPlatformTypeSet_somPrintSelf SOMObject_somPrintSelf
- #define ODPlatformTypeSet_somDumpSelf SOMObject_somDumpSelf
- #define ODPlatformTypeSet_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODPlatformTypeSet_h */
-